home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / ppid < prev    next >
Text File  |  2001-03-21  |  488b  |  21 lines

  1. Synopsis:
  2.    $pid()
  3.    $ppid()
  4.  
  5. Technical:
  6.    This pair of functions return the client's current Unix process id, and
  7.    its parent's process id, respectively.
  8.  
  9. Practical:
  10.    These functions don't have much practical value.  One possible use might
  11.    be to add a CTCP command that returns their values, allowing one to
  12.    remotely kill a client that is responsive on the network, but not from
  13.    the keyboard.
  14.  
  15. Returns:
  16.    client process's pid/ppid
  17.  
  18. See Also:
  19.    exec(5)
  20.  
  21.